import request from '@/utils/request'

// 查询尽调申请详细
export function getDealWfDdApply(id) {
  return request({
    url: '/ddApply/dealWfDdApply/' + id,
    method: 'get'
  })
}

// 根据流程节点ID初始化记录
export function getByWfNodeId(wfNodeId) {
  return request({
    url: '/ddApply/dealWfDdApply/getByWfNodeId/' + wfNodeId,
    method: 'get'
  })
}

// 保存尽调申请
export function saveDealWfDdApply(data) {
  return request({
    url: '/ddApply/dealWfDdApply/save',
    method: 'post',
    data: data
  })
}

